#ifndef MBM_H263_DEC_ADAPTER_H
#define MBM_H263_DEC_ADAPTER_H

#ifdef __cplusplus
extern "C"
{
#endif

typedef struct
{
    UInt32 width;
    UInt32 height;
    UInt32 yuv_size;
} t_mbm_yuv_info;

ImpBool mbm_init_decoder(UInt8* cach_frames_buf, UInt32 buf_len, UInt32 frame_bfr_num);
Int32 mbm_decode(const Int8* input, Int32 bytes, Int32* availble, t_mbm_yuv_info* info);
UInt32 mbm_get_one_dsp_frame(UInt8** yuv_buf);
void mbm_dec_release(void);

#ifdef __cplusplus
}
#endif

#endif/* MBM_H263_DEC_ADAPTER_H */

